﻿namespace AVCUMPlatform.WXService.Model
{
    /// <summary>
    /// 微信模板消息
    /// </summary>
    public class WXTemplateMsgRM
    {
        /// <summary>
        /// 信息接收人openid
        /// </summary>
        public string touser { get; set; }
        /// <summary>
        /// 模板消息id
        /// </summary>
        public string template_id { get; set; }
        /// <summary>
        /// 跳转链接
        /// </summary>
        public string url { get; set; }
        /// <summary>
        /// 跳转网页时填写
        /// </summary>
        public string page { get; set; }
        /// <summary>
        /// 跳转小程序时填写
        /// </summary>
        public object miniprogram { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public DataModel data { get; set; }
    }

    /// <summary>
    /// 数据模型
    /// </summary>
    public class DataModel
    {
        /// <summary>
        /// 标题
        /// </summary>
        public ContentValue first { get; set; }
        /// <summary>
        /// 关键信息1
        /// </summary>
        public ContentValue keyword1 { get; set; }
        /// <summary>
        /// 关键信息2
        /// </summary>
        public ContentValue keyword2 { get; set; }
        /// <summary>
        /// 关键信息3
        /// </summary>
        public ContentValue keyword3 { get; set; }
        /// <summary>
        /// 关键信息4
        /// </summary>
        public ContentValue keyword4 { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public ContentValue remark { get; set; }
        /// <summary>
        /// 事物信息1
        /// </summary>
        public ContentValue thing1 { get; set; }
        /// <summary>
        /// 事物信息2
        /// </summary>
        public ContentValue thing2 { get; set; }
        /// <summary>
        /// 事物信息3
        /// </summary>
        public ContentValue thing3 { get; set; }
        /// <summary>
        /// 事物信息4
        /// </summary>
        public ContentValue thing4 { get; set; }
        /// <summary>
        /// 事物信息5
        /// </summary>
        public ContentValue thing5 { get; set; }
        /// <summary>
        /// 事物信息6
        /// </summary>
        public ContentValue thing6 { get; set; }
        /// <summary>
        /// 事物信息7
        /// </summary>
        public ContentValue thing7 { get; set; }
        /// <summary>
        /// 事物信息8
        /// </summary>
        public ContentValue thing8 { get; set; }
        /// <summary>
        /// 事物信息9
        /// </summary>
        public ContentValue thing9 { get; set; }
        /// <summary>
        /// 事物信息10
        /// </summary>
        public ContentValue thing10 { get; set; }
        /// <summary>
        /// 事物信息11
        /// </summary>
        public ContentValue thing11 { get; set; }
        /// <summary>
        /// 事物信息12
        /// </summary>
        public ContentValue thing12 { get; set; }
        /// <summary>
        /// 事物信息13
        /// </summary>
        public ContentValue thing13 { get; set; }
        /// <summary>
        /// 事物信息14
        /// </summary>
        public ContentValue thing14 { get; set; }
        /// <summary>
        /// 事物信息15
        /// </summary>
        public ContentValue thing15 { get; set; }
        /// <summary>
        /// 事物信息16
        /// </summary>
        public ContentValue thing16 { get; set; }
        /// <summary>
        /// 事物信息17
        /// </summary>
        public ContentValue thing17 { get; set; }
        /// <summary>
        /// 事物信息18
        /// </summary>
        public ContentValue thing18 { get; set; }
        /// <summary>
        /// 事物信息19
        /// </summary>
        public ContentValue thing19 { get; set; }
        /// <summary>
        /// 事物信息20
        /// </summary>
        public ContentValue thing20 { get; set; }
        /// <summary>
        /// 事物信息31
        /// </summary>
        public ContentValue thing31 { get; set; }
        /// <summary>
        /// 时间2
        /// </summary>
        public ContentValue time2 { get; set; }
        /// <summary>
        /// 时间3
        /// </summary>
        public ContentValue time3 { get; set; }
        /// <summary>
        /// 时间4
        /// </summary>
        public ContentValue time4 { get; set; }
        /// <summary>
        /// 时间5
        /// </summary>
        public ContentValue time5 { get; set; }
        /// <summary>
        /// 时间8
        /// </summary>
        public ContentValue time8 { get; set; }
        /// <summary>
        /// 时间20
        /// </summary>
        public ContentValue time20 { get; set; }
        /// <summary>
        /// 常量1
        /// </summary>
        public ContentValue const1 { get; set; }
        /// <summary>
        /// 常量2
        /// </summary>
        public ContentValue const2 { get; set; }
        /// <summary>
        /// 常量3
        /// </summary>
        public ContentValue const3 { get; set; }
        /// <summary>
        /// 常量4
        /// </summary>
        public ContentValue const4 { get; set; }
        /// <summary>
        /// 常量5
        /// </summary>
        public ContentValue const5 { get; set; }
        /// <summary>
        /// 常量21
        /// </summary>
        public ContentValue const21 { get; set; }
        /// <summary>
        /// 电话5
        /// </summary>
        public ContentValue phone_number5 { get; set; }
        /// <summary>
        /// 短事物信息2
        /// </summary>
        public ContentValue short_thing2 { get; set; }
    }

    /// <summary>
    /// 内容格式
    /// </summary>
    public class ContentValue
    { 
        /// <summary>
        /// 内容
        /// </summary>
        public string value { get; set; }
        /// <summary>
        /// 字体颜色
        /// </summary>
        public string color { get; set; }
    }
}
